cmake_minimum_required(VERSION 3.28)
project(study C)

set(CMAKE_C_STANDARD 11)
add_executable("helloWorld" "1-helloWorld/helloWorld.c")
add_executable("variables" "2-variables/variables.c")
add_executable(dataTypes "3-type/datatypes.c")
add_executable(typeCast "3-type/typeCast.c")
add_executable(input "4-input/input.c")
add_executable(processControl "5-process/processControl.c")
add_executable(loop "6-loop/loop.c")
add_executable(function "7-function/function.c")
add_executable(math "8-math/math.c")
add_executable(time "10-time/time.c")
add_executable(random "9-random/random.c")
add_executable(array "12-arrary/array.c")
add_executable(pointer "11-pointer/pointer.c")
add_executable(library 13-library/13-library.c)
add_executable(define 14-define/define.c)
add_executable(include 15-include/include.c
        15-include/tools.c
        15-include/tools.h)
add_executable(struct 16-struct/struct.c)
add_executable(union 17-union/union.c)
add_executable(18-enum 18-enum/enum.c)
add_executable(pointerOperate 19-pointerOperate/pointerOperate.c)
add_executable(20-pointerArrary 20-pointerArrary/pointerArray.c)
add_executable(21-returnPointer 21-returnPointer/returnPointer.c)
add_executable(22-dynamicMemory 22-dynamicMemory/dynamicMemory.c)
add_executable(23-pointerStruct 23-pointerStruct/pointerStruct.c)
add_executable(24-pointerPointer 24-pointerPointer/pointerPointer.c)
add_executable(25-pointer-const 25-pointer-const/pointer-const.c)
add_executable(26-pointer-array pointer-array.c)
